#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>

using namespace std;

//class A
//{
//public:
//	//static int a = 10;
//	int a = 10;
//	string str = "hello";
//};
////int A::a = 10;
//
//int main()
//{
//	A _A;
//	cout << _A.a << endl;
//	cout << _A.str << endl;
//}

class A
{
public:
	A(int a = 10)
		:_a(a)
	{}
	static void print(void* args)
	{
		A* ts = (A*)args;
		cout << ts->_a << endl;
	}
	void test()
	{
		print(this);
	}
private:
	int _a;
};

int main()
{
	A a;
	a.test();
}

class Solution {
public:
    void moveZeroes(vector<int>& nums) {
        int dst = -1, src = 0;
        int n = nums.size();
        while (src != n)
        {
            if (nums[src] != 0)
            {
                swap(nums[++dst], nums[src]);
            }
            src++;
        }
    }
private:
    void swap(int& left, int& right)
    {
        int temp = left;
        left = right;
        right = temp;
    }
};